package com.wantupai.mvp.framework.support;


import com.wantupai.mvp.mvp.MvpPresenter;
import com.wantupai.mvp.mvp.MvpView;

/**
 * 代理模式-第二重代理-目标接口-绑定和解绑
 *
 * @param <V>
 * @param <P>
 * @author :zhangqing
 */
public interface MvpDelegateCallback<V extends MvpView, P extends MvpPresenter<V>> {

    P createPresenter();

    P getPresenter();

    void setPresenter(P p);

    V getMvpView();
}
